package com.itany.service;


import com.github.pagehelper.PageInfo;
import com.itany.exception.AlreadyExaminedException;
import com.itany.exception.RequestParamsException;
import com.itany.pojo.Examine;

import javax.servlet.http.HttpSession;

/**
 * 图书审核业务
 */
public interface ExamineService {
    /**
     * 查找所有审核条目
     * @param page 页数
     * @param rows 每页数据条数
     * @return
     */
    PageInfo<Examine> findAll(Integer page, Integer rows, String booknameKey, String ISBNKey, String supplierId, HttpSession session) throws RequestParamsException;

    /**
     * 审核图书信息
     * @param examineStatus 审核结果
     * @param examineDetail 审核备注
     */
    void examineBook(String examineStatus,String examineDetail,String examineId) throws RequestParamsException, AlreadyExaminedException;
}



